package com.decent.redis.service.impl;

import com.decent.redis.dao.TestDao;
import com.decent.redis.entity.TestEntity;
import com.decent.redis.service.TestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;

@Service
public class TestServiceImpl implements TestService {

    @Resource
    TestDao testDao;

    @Override
    public List<TestEntity> getTestValue() {
        return testDao.getTestValue();
    }


}
